import httpInstance from '@/utils/https.js'



export const getDetails = (id) => {
  return httpInstance({
    url:"/goods",
    params:{
      id
    }
  })
}


export const fetchHotGoodsApi = (id,type,limit = 3) => {
  return httpInstance({
    url:"/goods/hot",
    params:{
      id,
      type,
      limit
    }
  })
}
